package com.baofu.paycore.manager.util;

import com.google.common.base.Joiner;

import java.util.Map;

/**
 * 付款信息工具
 *
 * User: xin deng  Date: 16/7/4 ProjectName: paycore Version: 1.0
 */
public class PaymentInfoUtils {

    /**
     * 获取支付的付款方信息
     *
     * @param paymentExt    扩展信息
     */
    public static String getPaymentInfoByPay(Map<String,String> paymentExt){
        if(paymentExt == null){
            return "";
        }
        return Joiner.on(":").withKeyValueSeparator("-").join(paymentExt);
    }

}
